package com.sls.game.dao.maxshu;

import java.util.List;

import com.sls.game.page.Pagination;
import com.sls.game.pojo.maxshu.MaxshuProduct;

public interface MaxshuDAO {

	/**
	 * 插入产品信息
	 * 
	 * @param product
	 */
	public void insertProduct(MaxshuProduct product);

	/**
	 * 修改产品信息
	 * 
	 * @param product
	 */
	public void update(MaxshuProduct product);

	/**
	 * 查询
	 * 
	 * @param id
	 * @return
	 */
	public MaxshuProduct queryById(String id);

	/**
	 * 通过产品编号查询
	 * 
	 * @param proId
	 * @return
	 */
	public MaxshuProduct queryByProId(String proId);

	/**
	 * 分页查询
	 * 
	 * @param product
	 * @return
	 */
	public Pagination<MaxshuProduct> queryPage(MaxshuProduct product);

	/**
	 * 查询所有信息
	 * 
	 * @param product
	 * @return
	 */
	public List<MaxshuProduct> queryAllWoInfo(MaxshuProduct product);

}
